package org.jaaksi.kottlindemo.`object`

class TypeAliases {
  fun test() {
    var a: AInner = A().Inner()
    a.fun0()
  }
}

class A {
  inner class Inner {
    fun fun0() {}
  }
}

// 类型别名不会引入新类型。仅能用于声明
typealias AInner = A.Inner

typealias MyHandler = (Int, String, Any) -> Unit

